package it.univaq.di.helpdesk.business.model;

import java.io.Serializable;
import java.util.List;

public class Office implements Serializable {
	
	private int officeID;
	private String building;
	private String floor;
	private String number;
	private String name;
	private String phone;
	private List<Device> devices;
	
	public Office() {
		super();
	}
	public Office(int officeID, String building, String floor, String number,
			String name, String phone, List<Device> devices) {
		super();
		this.officeID = officeID;
		this.building = building;
		this.floor = floor;
		this.number = number;
		this.name = name;
		this.phone = phone;
		this.setDevices(devices);
	}
	
	public int getOfficeID() {
		return officeID;
	}
	public void setOfficeID(int officeID) {
		this.officeID = officeID;
	}
	public String getBuilding() {
		return building;
	}
	public void setBuilding(String building) {
		this.building = building;
	}
	public String getFloor() {
		return floor;
	}
	public void setFloor(String floor) {
		this.floor = floor;
	}
	public String getNumber() {
		return number;
	}
	public void setNumber(String number) {
		this.number = number;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public void setDevices(List<Device> devices) {
		this.devices = devices;
	}
	public List<Device> getDevices() {
		return devices;
	}
}
